package cn.itrip;

import com.spring4all.swagger.EnableSwagger2Doc;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.solr.SolrAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;

@SpringBootApplication(scanBasePackages = "cn.itrip")
@MapperScan("cn.itrip.dao")
public class ItripSearchMain {

    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(ItripSearchMain.class);
    }
    public static void main(String[] args){
        SpringApplication.run(ItripSearchMain.class,args);
    }
}
